﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Index.aspx.cs" Inherits="GeoWeb.Demo.ButtonConfigInfo.Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>按钮配置</title>
    <link href="Index.css" rel="stylesheet" type="text/css" />
    <link href="../JQuery_zTree_v3.5/css/zTreeStyle/zTreeStyle.css" rel="stylesheet" type="text/css" />
    <script src="../Script/jquery-1.7.1.min.js" type="text/javascript"></script>
    <script src="../JQuery_zTree_v3.5/js/jquery.ztree.core-3.5.min.js" type="text/javascript"></script>
    <script src="ButtonInfo.js" type="text/javascript"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div class="wrapAll">
        <div id="menuTree">
            <ul id="ul_Tree" class="ztree">
            </ul>
        </div>
        <div class="wrap" id="wrap">
            <div class="top">
                <div class="top_title">
                    &nbsp;&nbsp;按 钮 配 置
                </div>
                <div class="top_tablewrap">
                    <div class="top_tablehead">
                        <table cellpadding="1" cellspacing="1">
                            <tr>
                                <td class="top_table_td1">
                                    序号
                                </td>
                                <td class="top_table_td2">
                                    按钮名称
                                </td>
                                <td class="top_table_td3">
                                    按钮描述
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div class="top_tablebody">
                        <table id="tb_ButtonList" cellpadding="1" cellspacing="1">
                        </table>
                    </div>
                </div>
                <div class="top_middle">
                    <p>
                        <input type="button" id="btn_AddByNote" value=" 添 加 " title="将按钮列表中的按钮添加到该节点" />
                    </p>
                    <p>
                        <input type="button" id="btn_SaveByNote" value=" 保 存 " title="保存添加到该列表中的按钮" />
                    </p>
                </div>
                <div class="top_listwrap">
                    <table id="tb_ButtonsByNote" cellpadding="1" cellspacing="1">
                    </table>
                </div>
            </div>
            <div class="middle">
                <div class="middle_search">
                    &nbsp;&nbsp;按钮名称：<input type="text" title="输入要查询的按钮名称的关键字" id="txt_keywords" />&nbsp;&nbsp;<input type="button"
                        value=" 查 询 " id="btn_Search" />
                    &nbsp;&nbsp;<input type="button" value=" 显示全部 " id="btn_ShowAll" />
                </div>
                <div class="middle_buttons">
                    <input type="button" value=" 添 加 " id="btn_AddButton" /><input type="button" value=" 保 存 " id="btn_SaveButton" /><input
                        type="button" value=" 重 置 " id="btn_ResetButoon" /><input type="button" value=" 删 除 " id="btn_DeleteButton" />
                </div>
            </div>
            <div class="bottom">
                <table cellpadding="1" cellspacing="1">
                    <tr>
                        <td class="left">
                            节点ID：
                        </td>
                        <td class="right">
                            <label id="lb_TreeID"></label>
                            <label id="lb_buttonID" style="display:none;">
                            </label>
                            <input type="hidden" id="hd_buttonGuid" />
                        </td>
                    </tr>
                    <tr>
                        <td class="left">
                            按钮名称：
                        </td>
                        <td class="right">
                            <input type="text" id="txt_buttonname" />
                        </td>
                    </tr>
                    <tr>
                        <td class="left">
                            描述信息：
                        </td>
                        <td class="right">
                            <input type="text" id="txt_buttonDescription" />
                        </td>
                    </tr>
                    <tr>
                        <td class="left">
                            按钮HTML：
                        </td>
                        <td class="right">
                            <textarea id="ttr_buttonHTML"></textarea>
                        </td>
                    </tr>
                    <tr>
                        <td class="left">
                            Javascript：
                        </td>
                        <td class="right">
                            <textarea id="ttr_buttonJavascript"></textarea>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
